import React, { Component } from 'react';
import routes from './routes'
import RouterView from './routerView'
import {BrowserRouter} from 'react-router-dom'
class Index extends Component {
  render() {
    return (
      <BrowserRouter>
        <RouterView routes={routes}></RouterView>
      </BrowserRouter>
    );
  }
}

export default Index;
